package com.peng.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName t_minio
 */
@TableName(value ="t_minio")
@Data
public class TMinio implements Serializable {
    /**
     * 主键 ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户 ID，外键关联 t_user(id)
     */
    @TableField(value = "user_id")
    private Integer user_id;

    /**
     * 桶名
     */
    @TableField(value = "bucket")
    private String bucket;

    /**
     * 文件名
     */
    @TableField(value = "object")
    private String object;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}